package demo3;

/**
 * Created with IntelliJ IDEA.
 * User: 12629
 * Date: 2022/2/24
 * Time: 21:42
 * Description:
 */
interface IA {
    void testA();
}
interface IB {
    void testB();
}
interface IC {
    void testC();
}
//ID这个接口，扩展了IA,IB,IC功能
interface ID extends IA,IB,IC {
    void testD();
}
class CID implements ID {

    @Override
    public void testA() {

    }

    @Override
    public void testB() {

    }

    @Override
    public void testC() {

    }

    @Override
    public void testD() {

    }
}


abstract class CA implements IA,IB {
    public abstract void testCA();
}
class CC extends CA implements IC {

    @Override
    public void testA() {

    }

    @Override
    public void testB() {

    }

    @Override
    public void testC() {

    }

    @Override
    public void testCA() {

    }
}
public class TestDemo2 {
}
